package com.woniu.mapper;

import com.woniu.entity.ExamItem;
import com.woniu.entity.SurgeryItem;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
* @author FQY
* @description 针对表【surgery_item(手术项目)】的数据库操作Mapper
* @createDate 2025-10-31 09:59:42
* @Entity com.woniu.entity.SurgeryItem
*/
public interface SurgeryItemMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(SurgeryItem record);

    Integer insertSelective(SurgeryItem record);

    SurgeryItem selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(SurgeryItem record);

    Integer updateByPrimaryKey(SurgeryItem record);
    List<SurgeryItem> selectAll();
    Integer updateSurgery(Integer id);
    List<SurgeryItem> selectByCondition(@Param("itemName") String itemName,
                                        @Param("roomName") String roomName,
                                        @Param("status")   Integer status);

    List<SurgeryItem> findAll();

    BigDecimal getPriceById(Integer id);

}
